<template>
	<view>
		<!-- 导航栏 -->
		<cu-custom bgColor="bg-white" class="nav-bar" :isBack="true">
			<block slot="backText">返回</block>
			<block slot="content">编辑资料</block>
		</cu-custom>
		<!-- 头像 -->
		<view class="cu-form-group" @tap="avater">
			<view class="title">头像</view>
			<view class="cu-avatar radius bg-gray">
				<!-- <image :src="avatar.userpic" mode="widthFix"></image> -->
			</view>
		</view>
		
		<view  class="cu-list menu solid-top margin-top-sm">
		
			<view  class="cu-item">
				<view  class="content">
					<text  class="text-black">账号</text>
				</view>
				<view  class="action">
					<text class="text-grey"> 123 </text>
					<text class="text-grey text-sm margin-left"></text>
				</view>
			</view>
			<view  class="cu-item">
				<view  class="content">
					<text  class="text-black">姓名</text>
				</view>
				<view  class="action">
					<text class="text-grey"> 123 </text>
					<text class="text-grey text-sm margin-left"></text>
				</view>
			</view>
			<view  class="cu-item">
				<view  class="content">
					<text  class="text-black">我的推荐人</text>
				</view>
				<view  class="action">
					<text class="text-grey"> 123 </text>
					<text class="text-grey text-sm margin-left"></text>
				</view>
			</view>
			<navigator  class="cu-item">
				<view  class="content">
					<text  class="text-black">昵称</text>
				</view>
				<view  class="action">
					<text class="text-grey"> 123 </text>
					<text class="text-grey text-sm margin-left cuIcon-right"></text>
				</view>
			</navigator>
			<navigator  class="cu-item">
				<view  class="content">
					<text  class="text-black">支付宝</text>
				</view>
				<view  class="action">
					<text class="text-grey"> 123 </text>
					<text class="text-grey text-sm margin-left cuIcon-right"></text>
				</view>
			</navigator>
			
		</view>
		
		<view  class="cu-list menu solid-top margin-top-sm">
			<navigator url="../my/editpassword?type=1" class="cu-item">
				<view  class="content">
					<text  class="text-black">修改登录密码</text>
				</view>
				<view  class="action">
					<text class="text-grey text-sm margin-left cuIcon-right"></text>
				</view>
			</navigator>
			
			<navigator url="../my/editpassword?type=2"  class="cu-item">
				<view  class="content">
					<text  class="text-black">修改交易密码</text>
				</view>
				<view  class="action">
					<text class="text-grey text-sm margin-left cuIcon-right"></text>
				</view>
			</navigator>
			
		</view>	
	</view>
</template>


<script>
	export default {
		components: {
		},
		data() {
			return {
			}
		},
		methods: {
			avater(){
				uni.chooseImage({
					success() {
						
					}
				})
			}
		},
		onLoad(options) {
		},
	}
</script>

<style>

</style>